package com.smartcommunity.entity.people;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "实有人口列表查询接口查询条件")
@Data
public class PeopleSearchModel {

    @ApiModelProperty( value = "实有人口id列表",example = "1,2,4,6")
    private String ids;
    @ApiModelProperty( value = "小区编号",example = "123456")
    private String villageCode;
    @ApiModelProperty(value = "户籍类别",example = "1")
    private String peopleType;
    @ApiModelProperty(value = "证件号码")
    private String credentialNo;
    @ApiModelProperty(value = "证件类型")
    private String credentialType;
    @ApiModelProperty(value = "姓名")
    private String peopleName;
    @ApiModelProperty(value = "性别")
    private String gender;
    @ApiModelProperty(value = "性别编码")
    private String genderCode;
    @ApiModelProperty(name = "nation", value = "民族")
    private String nation;
    @ApiModelProperty(value = "年龄段开始")
    private String ageStart;
    @ApiModelProperty(value = "年龄段结束")
    private String ageEnd;
    @ApiModelProperty(value = "居住地址")
    private String residenceAddress;
    @ApiModelProperty(value = "户籍地址")
    private String domicileAddress;
    @ApiModelProperty(value = "手机号码")
    private String phoneNo;
    @ApiModelProperty(value = "标签")
    private String label;
    @ApiModelProperty(value = "merge")
    private String merge;
    @ApiModelProperty( value = "房屋编号")
    private String houseNo;
    @ApiModelProperty( value = "楼栋编号")
    private String buildingNo;
    @ApiModelProperty(value = "全文检索主要是用户姓名身份证号的搜索")
    private String text;
    @ApiModelProperty(value = "vid查询")
    private String vid;
    @ApiModelProperty(value = "特征id查询")
    private String featureId;
    @ApiModelProperty(value = "是否置信,2未关联，1已关联")
    private Integer isVid;
    @ApiModelProperty(value = "已迁入或者已迁出,1已迁入，2已迁出")
    private Integer isLeave;
    @ApiModelProperty(value = "是否有证件图片,2没有图片，1有图片")
    private Integer isPic;
    @ApiModelProperty(value = "父节点ID")
    private String parentId;
    @ApiModelProperty(value = "启动缓存总数")
    private boolean useCacheTotalCount = true;
    @ApiModelProperty(value = "分页查询页",example = "1")
    private Integer pageNumber;
    @ApiModelProperty(value = "分页查询数量",example = "10")
    private Integer pageSize;
    @ApiModelProperty(value = "排序字段")
    private String sortField;
    @ApiModelProperty(value = "排序方式")
    private String sortModel;


    /**
    *   1实有人口、2访客人员、3曾住人员4其他
    */
    @ApiModelProperty(value = "居住类型")
    private String residentiaType;
}
